function a = sigmoid(x)
a = 1./(1+exp(-x));
